#ifndef IPSET_H
#define IPSET_H

#include <QDialog>
#include <QRegExp>
#include <QMessageBox>
#include <QSettings>
#include <QRegExpValidator>

namespace Ui {
class IPSet;
}

class IPSet : public QDialog
{
    Q_OBJECT

public:
    explicit IPSet(QWidget *parent = nullptr);
    ~IPSet();

    QString f_GetIPAddress();
    QString f_GetPort();

private slots:
    void on_ui_BtnCancel_clicked();

    void on_ui_BtnSubmit_clicked();

signals:
    void signal_submit(QString, QString);

private:
    Ui::IPSet *ui;
};

#endif // IPSET_H
